package com.cskaoyan.bean.common;

import com.cskaoyan.bean.bo.Goods_list;
import com.cskaoyan.bean.marketBean.MarketGoods;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class MarketGoods_list {
    @JsonProperty("errno")
    private Integer errno;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("errmsg")
    private String errmsg;

    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class DataDTO {
        @JsonProperty("total")
        private Integer total;
        @JsonProperty("pages")
        private Integer pages;
        @JsonProperty("limit")
        private Integer limit;
        @JsonProperty("page")
        private Integer page;
        @JsonProperty("list")
        private List<MarketGoods> list;

    }
}
